home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / disk / misc / Mtools207.lha / Mtools-2.0.7 / docs / Mcd.doc < prev    next >
Encoding:
Text File  |  1994-05-27  |  1.0 KB  |  35 lines

  1. NAME
  2.        mcd - change MSDOS directory
  3.  
  4. SYNOPSIS
  5.        mcd [ msdosdirectory ]
  6.  
  7. DESCRIPTION
  8.        Without  arguments, mcd will report the current device and
  9.        working directory.  Otherwise,  mcd  changes  the  current
  10.        device  and current working directory relative to an MSDOS
  11.        filesystem.
  12.  
  13.        The environmental variable MCWD may be used to locate  the
  14.        file where the device and current working directory infor-
  15.        mation is stored.  The default is '$HOME/.mcwd'.  Informa-
  16.        tion  in  this  file is ignored if the file is more than 6
  17.        hours old.
  18.  
  19.        MSDOS subdirectory names are supported with either the '/'
  20.        or  '\'  separator.  The use of the '\' separator or wild-
  21.        cards will require the directory name to  be  enclosed  in
  22.        quotes to protect it from the shell.
  23.  
  24.        Mcd returns 0 on success or 1 on failure.
  25.  
  26. SEE ALSO
  27.        mdir(1)
  28.  
  29. BUGS
  30.        Unlike  MSDOS versions of CD, mcd can be used to change to
  31.        another device.
  32.  
  33.        It may be wise to remove old .mcwd files at logout.
  34.  
  35.